import * as z from "zod";


export const BodySchema = z.object({
    "Team": z.string(),
    "AthleteName": z.string(),
    "AthleteBib": z.string(),
    "AthleteTelephone": z.string(),
    "ResultA": z.string(),
    "ResultB": z.string(),
    "Rank": z.string(),
});
export type Body = z.infer<typeof BodySchema>;

export const HeadSchema = z.object({
    "DeviceId": z.string(),
    "MessageUuid": z.string(),
    "Timestamp": z.string(),
    "MessageType": z.string(),
});
export type Head = z.infer<typeof HeadSchema>;

export const RealResultSchema = z.object({
    "Head": HeadSchema,
    "Body": BodySchema,
});
export type RealResult = z.infer<typeof RealResultSchema>;
